package com.perfma.xtest.tool.word;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.compress.utils.Lists;

import java.util.List;

/**
 * @description:
 * @author: 武士
 * @create: 2020-06-09 14:34
 **/
@Data
@NoArgsConstructor
@Builder
@AllArgsConstructor
@ApiModel("测试目标meta")
public class PlanGoalMetaDTO{
    private Long id;

    private Long merchantId;

    private Long workspaceId;

    private Long planId;

    private String name;

    private String planName;

    private Integer submitCount;//评估次数

    private PlanGoalTypeEnum type;

    private String remark;

    private Boolean status;

    private String typeName;// 类型中文名

    /**
     * 列表返回时，需要填充的相关信息
     */
    private List<String> descriptionList;
    @ApiModelProperty("评估项")
    private List<AlertRule> alertRuleList;
    @ApiModelProperty("评估项数量")
    private Integer alertRuleCount;

    /**
     * 3.8.0之后的版本，将使用下面字段来表示目标的验证相关内容
     */
    @ApiModelProperty("目标验证相关")
    List<PlanGoalResult> planGoalResultList = Lists.newArrayList();


}
